<template>
    <Pager
    :total="total"
    :current="current" 
    @pageChange="handleClick($event)" 
    />
</template>

<script>
import Pager from './';
export default {
    components: {
        Pager
    },
    data() {
    return {
      total: 302,
      current: 1
    }
  },
  methods: {
    handleClick(newPage) {
      this.current = newPage;
    }
  }
}
</script>
    
<style>

</style>